package com.wx.common.enums;

import lombok.Getter;

/**
 * @program: xj-shop
 * @description:
 * @author: 徐健
 * @create: 2022-09-01 11:05
 **/
@Getter
public enum CodeEnum {
    CODE_SUCCESS(2000,"SUCCESS"),
    YEWU_SUCCESS(9000,"业务错误"),
    ERROR_SUCCESS(9999,"系统错误");

    private Integer code;
    private String value;

    CodeEnum(Integer code,String value){
        this.code = code;
        this.value = value;
    }
}
